package com.xiaohai.mapper;

import com.xiaohai.projo.Teacher;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author xiaohai
 * @since 2024-01-22
 */
@Mapper
public interface TeacherMapper extends BaseMapper<Teacher> {

    Boolean updateByAccount(Teacher teacher);

    int updatePasswordByAccount(String account, String newPassword);
}
